package com.kele.service.Impl;

import com.kele.mapper.school.SubjectMapper;
import com.kele.pojo.Subject;
import com.kele.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: SubjectService实现类
 * @Author: Kele
 * @CreateDate: 2021/7/2 10:11
 * @Version:
 */
@Service
public class SubjectServiceImpl implements SubjectService {

    @Autowired
    private SubjectMapper subjectMapper;

    @Override
    public List<Subject> queryAll() {
        return subjectMapper.queryAll();
    }
}
